package sdu.icat.pj.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import sdu.icat.sys.smodel.SysUserRole;

@Repository
public interface SysUserRoleRepository extends JpaRepository<SysUserRole, Long>{

    List<SysUserRole> findByUserId(Long userId);
    
}
